package com.sitc.administrator.application.datasource;

import android.content.Context;
import com.litesuits.orm.LiteOrm;
import com.litesuits.orm.db.assit.QueryBuilder;
import com.litesuits.orm.db.assit.WhereBuilder;

import java.util.ArrayList;
import java.util.List;


public class Orm{
    static LiteOrm orm;
    private static Orm instance;

    public Orm(Context context) {
        orm = LiteOrm.newSingleInstance(context, "app-local.db");
    }

    public static Orm getInstance(Context context) {
        if (instance == null) {
            instance = new Orm(context);
        }
        return instance;
    }


}
